services.openssh.knownHosts.<name>.hostNames
A list of host names and/or IP numbers used for accessing
the host's ssh service. This list includes the name of the
containing knownHosts attribute by default
for convenience. If you wish to configure multiple host keys
for the same host use multiple knownHosts
entries with different attribute names and the same
hostNames list.
- Type
list of string- Default
[ ‹name› ] ++ config.services.openssh.knownHosts.<name>.extraHostNames- Declared
- <nixpkgs/nixos/modules/programs/ssh.nix>